# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Bruce Zhang <zttt183525594@gmail.com>

pkgname=feeluown-kuwo
pkgver=0.1.6
pkgrel=3
pkgdesc="Kuwo music provider for FeelUOwn music player"
arch=('any')
url="https://github.com/feeluown/feeluown-kuwo"
license=('GPL3')
depends=('feeluown' 'python-marshmallow' 'python-requests')
makedepends=('python-setuptools')
groups=('feeluown-full')
source=("https://pypi.io/packages/source/f/fuo_kuwo/fuo_kuwo-$pkgver.tar.gz")
sha512sums=('578c4a744d4076315a88245571d7d9641560aeb8027a4ddc05f2debc886c6b6b9f4683d96651baa427a295bf91b5861dd5e416b46f9ed10a97ac22c18ccef40f')

build() {
  cd fuo_kuwo-$pkgver
  python setup.py build
}

package() {
  cd fuo_kuwo-$pkgver
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
